package com.TPNexus.model;

import java.io.Serializable;

import javax.enterprise.context.SessionScoped;
import javax.inject.Named;

@Named
@SessionScoped
public class ShoppingCartItem implements Serializable{

	private static final long serialVersionUID = 1L;
	private long shoppingItemCartId;
	private CatalogItem catalogItem;
	private int qty;

	public ShoppingCartItem() {
	}

	public long getShoppingItemCartId() {
		return shoppingItemCartId;
	}

	public void setShoppingItemCartId(long shoppingItemCartId) {
		this.shoppingItemCartId = shoppingItemCartId;
	}

	public CatalogItem getCatalogItem() {
		return catalogItem;
	}

	public void setCatalogItem(CatalogItem catalogItem) {
		this.catalogItem = catalogItem;
	}

	public int getQty() {
		return qty;
	}

	public void setQty(int qty) {
		this.qty = qty;
	}

	public ShoppingCartItem(long shoppingItemCartId, CatalogItem catalogItem,
			int qty) {
		super();
		this.shoppingItemCartId = shoppingItemCartId;
		this.catalogItem = catalogItem;
		this.qty = qty;
	}
}
